import Vue from "vue"

import Vuex from "vuex"

import user from "./module/user"
import study from "./module/study"
import exam from "./module/exam"

Vue.use(Vuex)
const store = new Vuex.Store({
	mutations: {},
	modules: {
		user,
		study,
		exam,
	},
})

export { store }
export default {
	install(Vue) {
		Vue.prototype.$store = store
	},
}
